/*
 * @Description: 
 * @Author: rendc
 * @Date: 2025-02-28 09:03:02
 * @LastEditors: rendc
 * @LastEditTime: 2025-02-28 09:23:18
 */
public class Test01 {
  public static void main(String[] args) {
    // System.out.println("Hello World!");
    // 定义要打印的行数
    int line = 10;
    for (int i = 1; i <= line; i++) {
      // 控制每一行的空格数量
      for (int j = 0; j < line - i; j++) {
        System.out.print(" ");
      }
      // 控制输出的*
      for (int k = 0; k < (2 * i - 1); k++) {
        System.out.print("*");
      }
      System.out.println("");
    }
  }
}